# $OpenBSD: Makefile,v 1.16 2015/11/18 21:56:27 jung Exp $

COMMENT =		simple background setter

VERSION =		0.8
DISTNAME =		${GH_PROJECT}-${VERSION}
CATEGORIES =		x11 graphics

MAINTAINER =		Joerg Jung <jung@openbsd.org>

# MIT/X
PERMIT_PACKAGE_CDROM =	Yes

WANTLIB =		X11 Xinerama c Imlib2 m Xext freetype z

GH_ACCOUNT =		Gottox
GH_PROJECT =		bgs
GH_TAGNAME =		v${VERSION}

LIB_DEPENDS =		graphics/imlib2

NO_TEST =		Yes
SUBST_VARS =		VERSION

pre-configure:
	@${SUBST_CMD} ${WRKSRC}/bgs.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bgs ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/bgs.1 ${PREFIX}/man/man1

.include <bsd.port.mk>
